package com.info.zhiduoduo.repository.dto.partner;

import java.math.BigDecimal;
import java.util.Date;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * <p>
 * 智众包项目
 * </p>
 *
 * @author bob
 * @since 2019-09-25
 */
@Data
@Accessors(chain = true)
public class PartnerMonthlyCrowdsourceCostDto {

    @ApiModelProperty("合伙人成本id")
    private Integer id;
    @ApiModelProperty("成本分成月份")
    private Date month;
    @ApiModelProperty("合伙人id")
    private Integer partnerid;
    @ApiModelProperty("合伙人名称")
    private String partnerName;
    @ApiModelProperty("众包成本基础比例")
    private Double crowdCostPrimaryRate;
    @ApiModelProperty("众包成本第二档比例")
    private Double crowdCostSecondaryRate;
    @ApiModelProperty("众包成本第二档总金额")
    private BigDecimal crowdCostSecondaryAmount;

    @ApiModelProperty("自己相关企业交易额(不含税)")
    private BigDecimal ownProjectAmount;
    @ApiModelProperty("自己相关企业已收税费")
    private BigDecimal ownProjectTaxFee;
    @ApiModelProperty("自己关联企业的分成利润")
    private BigDecimal ownProfit;
    @ApiModelProperty("下级合伙人相关企业总交易额(不含税)")
    private BigDecimal subProjectAmount;
    @ApiModelProperty("下级合伙人相关企业总已收税费")
    private BigDecimal subProjectTaxFee;
    @ApiModelProperty("从下级合伙人获取的分成利润")
    private BigDecimal subProfit;

    @ApiModelProperty("实际合伙人众包成本比例")
    private Double actualCrowdCostRate;
    @ApiModelProperty("总企业交易额(不含税), 以此值判断是否用众包成本第二档比例")
    private BigDecimal totalProjectAmount;
    @ApiModelProperty("总分成利润 = 自己关联企业的分成利润 + 从下级合伙人获取的分成利润")
    private BigDecimal totalProfit;
    @ApiModelProperty("状态 1:待结算 2:已结算")
    private Integer state;
    @ApiModelProperty("结算时间")
    private Date settleTime;
    @ApiModelProperty("结算凭证")
    private String receipt;
    @ApiModelProperty("操作员id")
    private Integer adminid;

}
